/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package db;

import java.util.ArrayList;
import models.Customer;
import models.Order;

/**
 *
 * @author Steffen
 */
public interface CustomerInterface {
    public int getBiggestNo();
    public boolean addCustomer(Customer cus);
    public Customer getCustomer(int cusid);
    public ArrayList<Customer> searchCustomers(int customerId, String customerName);
    public int deleteCustomer(int id);
    public ArrayList<Order> findOrdersByCustomer(Customer customer);
    public ArrayList<Order> findNotInvoicedOrdersByCustomer(Customer customer);
}
